package cate.game.role.system.msg;

import cate.game.GameBody;
import cate.game.client.ClientContext;
import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgInput;
import cate.game.client.msg.id.MsgIdBSystem;

@ClientMsg(title = "主角系统配置 の 请求")
public class RoleSystemReq implements MsgInput {


    @Override
    public void execute(GameBody game, ClientContext cc) {
        cc.sendNow(new RoleSystemResp(cc.getRole()));
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBSystem.DATA_REQ;
    }
}
